package com.wy.model;

import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @apiNote 用户角色关联表
 * @author ParadiseWY
 * @date 2019年8月21日
 */
@ApiModel("用户角色关联表")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
@Table(name = "tr_user_role")
public class UserRole {

	@ApiModelProperty("用户编号")
	private String userId;

	@ApiModelProperty("角色编号")
	private String roleId;
}